﻿using Microsoft.EntityFrameworkCore;
using SqlSugar;
using System.ComponentModel.DataAnnotations;

namespace Shop.Model.Entity.System
{
    /// <summary>
    /// 短信发送日志
    /// </summary>
    [SugarTable("sys_sms_log")]
    public class SmsLog : BaseEntity
    {
        /// <summary>
        /// 电话号码
        /// </summary>
        public string Tel { get; set; }

        /// <summary>
        /// 状态码
        /// </summary>
        public string? Code { get; set; }

        /// <summary>
        /// 状态码说明
        /// </summary>
        public string? Message { get; set; }

        /// <summary>
        /// 请求ID
        /// </summary>
        public string? Requestld { get; set; }

        /// <summary>
        /// 发送回执ID,可根据该ID查询具体的发送状态
        /// </summary>
        public string? Bizld { get; set; }

        /// <summary>
        /// 发送的内容
        /// </summary>
        public string? SenData { get; set; }

        /// <summary>
        /// 短信模板ID
        /// </summary>
        public string? SenTemp { get;set; }

        /// <summary>
        /// 发送时间
        /// </summary>
        public DateTime SendTime { get; set; }
    }
}
